#import "~/graphql_shared/fragments/page_info.fragment.graphql"

query getPackageFiles(
  $id: PackagesPackageID!
  $first: Int
  $last: Int
  $after: String
  $before: String
) {
  package(id: $id) {
    id
    packageFiles(after: $after, before: $before, first: $first, last: $last) {
      pageInfo {
        ...PageInfo
      }
      nodes {
        id
        fileMd5
        fileName
        fileSha1
        fileSha256
        size
        createdAt
        downloadPath
      }
    }
  }
}
